package com.hzf.ucenter.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class UcenterUserAuthExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public UcenterUserAuthExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("a.id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("a.id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("a.id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("a.id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("a.id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("a.id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("a.id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("a.id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("a.id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("a.id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("a.id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("a.id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("a.name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("a.name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("a.name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("a.name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("a.name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("a.name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("a.name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("a.name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("a.name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("a.name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("a.name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("a.name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("a.name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("a.name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("a.id_card is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("a.id_card is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("a.id_card =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("a.id_card <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("a.id_card >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("a.id_card >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("a.id_card <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("a.id_card <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("a.id_card like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("a.id_card not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("a.id_card in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("a.id_card not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("a.id_card between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("a.id_card not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentIsNull() {
            addCriterion("a.front_document is null");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentIsNotNull() {
            addCriterion("a.front_document is not null");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentEqualTo(String value) {
            addCriterion("a.front_document =", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentNotEqualTo(String value) {
            addCriterion("a.front_document <>", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentGreaterThan(String value) {
            addCriterion("a.front_document >", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentGreaterThanOrEqualTo(String value) {
            addCriterion("a.front_document >=", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentLessThan(String value) {
            addCriterion("a.front_document <", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentLessThanOrEqualTo(String value) {
            addCriterion("a.front_document <=", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentLike(String value) {
            addCriterion("a.front_document like", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentNotLike(String value) {
            addCriterion("a.front_document not like", value, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentIn(List<String> values) {
            addCriterion("a.front_document in", values, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentNotIn(List<String> values) {
            addCriterion("a.front_document not in", values, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentBetween(String value1, String value2) {
            addCriterion("a.front_document between", value1, value2, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andFrontDocumentNotBetween(String value1, String value2) {
            addCriterion("a.front_document not between", value1, value2, "frontDocument");
            return (Criteria) this;
        }

        public Criteria andCardFrontIsNull() {
            addCriterion("a.card_front is null");
            return (Criteria) this;
        }

        public Criteria andCardFrontIsNotNull() {
            addCriterion("a.card_front is not null");
            return (Criteria) this;
        }

        public Criteria andCardFrontEqualTo(String value) {
            addCriterion("a.card_front =", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontNotEqualTo(String value) {
            addCriterion("a.card_front <>", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontGreaterThan(String value) {
            addCriterion("a.card_front >", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontGreaterThanOrEqualTo(String value) {
            addCriterion("a.card_front >=", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontLessThan(String value) {
            addCriterion("a.card_front <", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontLessThanOrEqualTo(String value) {
            addCriterion("a.card_front <=", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontLike(String value) {
            addCriterion("a.card_front like", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontNotLike(String value) {
            addCriterion("a.card_front not like", value, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontIn(List<String> values) {
            addCriterion("a.card_front in", values, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontNotIn(List<String> values) {
            addCriterion("a.card_front not in", values, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontBetween(String value1, String value2) {
            addCriterion("a.card_front between", value1, value2, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardFrontNotBetween(String value1, String value2) {
            addCriterion("a.card_front not between", value1, value2, "cardFront");
            return (Criteria) this;
        }

        public Criteria andCardVersoIsNull() {
            addCriterion("a.card_verso is null");
            return (Criteria) this;
        }

        public Criteria andCardVersoIsNotNull() {
            addCriterion("a.card_verso is not null");
            return (Criteria) this;
        }

        public Criteria andCardVersoEqualTo(String value) {
            addCriterion("a.card_verso =", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoNotEqualTo(String value) {
            addCriterion("a.card_verso <>", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoGreaterThan(String value) {
            addCriterion("a.card_verso >", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoGreaterThanOrEqualTo(String value) {
            addCriterion("a.card_verso >=", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoLessThan(String value) {
            addCriterion("a.card_verso <", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoLessThanOrEqualTo(String value) {
            addCriterion("a.card_verso <=", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoLike(String value) {
            addCriterion("a.card_verso like", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoNotLike(String value) {
            addCriterion("a.card_verso not like", value, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoIn(List<String> values) {
            addCriterion("a.card_verso in", values, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoNotIn(List<String> values) {
            addCriterion("a.card_verso not in", values, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoBetween(String value1, String value2) {
            addCriterion("a.card_verso between", value1, value2, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andCardVersoNotBetween(String value1, String value2) {
            addCriterion("a.card_verso not between", value1, value2, "cardVerso");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoIsNull() {
            addCriterion("a.application_info is null");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoIsNotNull() {
            addCriterion("a.application_info is not null");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoEqualTo(String value) {
            addCriterion("a.application_info =", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoNotEqualTo(String value) {
            addCriterion("a.application_info <>", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoGreaterThan(String value) {
            addCriterion("a.application_info >", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoGreaterThanOrEqualTo(String value) {
            addCriterion("a.application_info >=", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoLessThan(String value) {
            addCriterion("a.application_info <", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoLessThanOrEqualTo(String value) {
            addCriterion("a.application_info <=", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoLike(String value) {
            addCriterion("a.application_info like", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoNotLike(String value) {
            addCriterion("a.application_info not like", value, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoIn(List<String> values) {
            addCriterion("a.application_info in", values, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoNotIn(List<String> values) {
            addCriterion("a.application_info not in", values, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoBetween(String value1, String value2) {
            addCriterion("a.application_info between", value1, value2, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andApplicationInfoNotBetween(String value1, String value2) {
            addCriterion("a.application_info not between", value1, value2, "applicationInfo");
            return (Criteria) this;
        }

        public Criteria andAuthTypeIsNull() {
            addCriterion("a.auth_type is null");
            return (Criteria) this;
        }

        public Criteria andAuthTypeIsNotNull() {
            addCriterion("a.auth_type is not null");
            return (Criteria) this;
        }

        public Criteria andAuthTypeEqualTo(Integer value) {
            addCriterion("a.auth_type =", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeNotEqualTo(Integer value) {
            addCriterion("a.auth_type <>", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeGreaterThan(Integer value) {
            addCriterion("a.auth_type >", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("a.auth_type >=", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeLessThan(Integer value) {
            addCriterion("a.auth_type <", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeLessThanOrEqualTo(Integer value) {
            addCriterion("a.auth_type <=", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeIn(List<Integer> values) {
            addCriterion("a.auth_type in", values, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeNotIn(List<Integer> values) {
            addCriterion("a.auth_type not in", values, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeBetween(Integer value1, Integer value2) {
            addCriterion("a.auth_type between", value1, value2, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("a.auth_type not between", value1, value2, "authType");
            return (Criteria) this;
        }

        public Criteria andCardAddressIsNull() {
            addCriterion("a.card_address is null");
            return (Criteria) this;
        }

        public Criteria andCardAddressIsNotNull() {
            addCriterion("a.card_address is not null");
            return (Criteria) this;
        }

        public Criteria andCardAddressEqualTo(String value) {
            addCriterion("a.card_address =", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressNotEqualTo(String value) {
            addCriterion("a.card_address <>", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressGreaterThan(String value) {
            addCriterion("a.card_address >", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressGreaterThanOrEqualTo(String value) {
            addCriterion("a.card_address >=", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressLessThan(String value) {
            addCriterion("a.card_address <", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressLessThanOrEqualTo(String value) {
            addCriterion("a.card_address <=", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressLike(String value) {
            addCriterion("a.card_address like", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressNotLike(String value) {
            addCriterion("a.card_address not like", value, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressIn(List<String> values) {
            addCriterion("a.card_address in", values, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressNotIn(List<String> values) {
            addCriterion("a.card_address not in", values, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressBetween(String value1, String value2) {
            addCriterion("a.card_address between", value1, value2, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andCardAddressNotBetween(String value1, String value2) {
            addCriterion("a.card_address not between", value1, value2, "cardAddress");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("a.user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("a.user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("a.user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("a.user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("a.user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("a.user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("a.user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("a.user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("a.user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("a.user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("a.user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("a.user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}